package com.dashboard.cloud.sentinel.rules;

import java.util.Arrays;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: spring-cloud-dashboard
 * @Package: com.dashboard.cloud.sentinel.rules
 * @ClassName: Test
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/11/14 10:41
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public class Test {
    public static void main(String[] args) {
        int[] arr = {35098,8061,6103,5648,3176,2349,935,639,601,157};
        int sum = 0;
        for (int i = 0; i < arr.length; i++) {
            sum+=arr[i];
        }
        System.out.println("sum = " + sum); // 62767-62851
        System.out.println("sum off = " + (sum-62851));
    }
}